/* eslint-disable no-use-before-define */
import React, { Component } from 'react'
import Comc from './Comc'
export default class Com1 extends Component {
  render () {
    // return (
    //   <div>当前鼠标的位置: {this.state.x}, {this.state.y}</div>
    // )
    return <Comc render={(state) => <div>当前鼠标的位置: {state.x}, {state.y}</div>} />
  }
}
